package com.kkwrite.regimen.common.constant;

/**
 * Created by Ron on 2018/9/12 16:57.
 *
 * @author Ron
 */
public class ShopIncomeEnum {
    ;

    public enum Status {
        /**
         * 待处理
         */
        PENDING_PROCESS((short) 1),
        /**
         * 取消
         */
        CANCEL((short) 2),
        /**
         * 正常
         */
        NORMAL((short) 3);
        private Short status;

        Status(Short status) {
            this.status = status;
        }

        public Short getStatus() {
            return status;
        }
    }

    public enum SourceType {
        /**
         * 用户下单
         */
        USER_ORDER((short) 1),
        /**
         * 邀请的用户在其他商铺下单
         */
        INVITE_USER_ORDER_OTHER_SHOP((short) 2),
        /**
         * 提现（负值）
         */
        EXTRACT_CASH((short) 3);
        private Short type;

        SourceType(Short type) {
            this.type = type;
        }

        public Short getType() {
            return type;
        }
    }
}
